site.setCurrentSite()

Availability 3.0
Description Opens the specified site in the local pane of the Site window.
Arguments whichSite
The argument is the name of a defined site (as it appears in the Current Sites List in the Site window or the Define Sites dialog box).
Returns Nothing.
Enabler None.
Example If three sites are defined (for example, avocado8, dreamcentral, and testsite), a call to site.setCurrentSite("dreamcentral"); makes dreamcentral the current site.